#!/usr/bin/env python

from distutils.core import setup, Extension

def main():
    setup(name="Cistrome",
          version="1.0",
          description="Cistrome Database Modules",
          author='Tao (Foo) Liu',
          author_email='taoliu@jimmy.harvard.edu',
          url='http://cistrome.googlecode.com',
          package_dir={'Cistrome' : 'lib'},
          packages=['Cistrome','Cistrome.TabIO','Cistrome.Motif','Cistrome.Vienna'],
          scripts=['bin/motif_count.py','bin/motif_enrich.py','bin/sample_seq.py','bin/motif_total_num.py','bin/window_stat.py'],
          ext_modules=[
            Extension('Cistrome.Vienna.pyvfold',['lib/Vienna/pyvfold.c'],
                      include_dirs=['lib/Vienna/ViennaRNA/H'],
                      library_dirs=['lib/Vienna/ViennaRNA/lib'],
                      libraries=['RNA','m'])],
          classifiers=[
            'Development Status :: 4 - Beta',
            'Environment :: Console',
            'Environment :: Web Environment',
            'Intended Audience :: Developers',
            'License :: OSI Approved :: Artistic License',
            'Operating System :: MacOS :: MacOS X',
            'Operating System :: Microsoft :: Windows',
            'Operating System :: POSIX',
            'Programming Language :: Python',
            'Topic :: Database',
            ],
          requires=['Bio']
          )

if __name__ == '__main__':
    main()

